﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using static DataModels.Enums.Livelihood.DecorationrenovationEnmu;

namespace DataModels.Entities.Livelihood
{
    /// <summary>
    /// 装修改造
    /// </summary>
    [SugarTable("decorationrenovation")]
    public class DecorationRenovation
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 装修面积
        /// </summary>
        public int Area { get; set; }
        /// <summary>
        /// 案例标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 案例类型
        /// </summary>
        public string CasetypeUUID { get; set; } // 使用枚举类型

        /// <summary>
        /// 装修风格
        /// </summary>
        public string HouseType { get; set; }
        /// <summary>
        /// 装修风格
        /// </summary>
        public string Style { get; set; }

        /// <summary>
        /// 装修位置
        /// </summary>
        public string DecorationLocation { get; set; }

        /// <summary>
        /// 是否精选
        /// </summary>
        public HandpickStatus IsHandpick { get; set; }

        /// <summary>
        /// 设计师
        /// </summary>
        public string Stylist { get; set; }

        /// <summary>
        /// 设计师电话
        /// </summary>
        public string StylistNumber { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        public string ImagePathS { get; set; }  // 使用分号分隔的字符串
        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// 案例状态
        /// </summary>
        public CaseStatus State { get; set; }  // 使用枚举类型
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }= DateTime.Now;
    }
}
